'Declaration
Public Overloads Function Add(Of TKey)( _ ByVal keySelector As System.Linq.Expressions.Expression(Of Func(Of T,TKey)), _ ByVal keyIsUnique As System.Boolean _ ) As IIndexScanner(Of T,TKey)
public IIndexScanner<T,TKey> Add<TKey>( System.Linq.Expressions.Expression<Func<T,TKey>> keySelector, System.bool keyIsUnique )
Parameters
- keySelector
- Key selector expression of the index, see KeySelector.
- keyIsUnique
- Specifies whether the key used in this index is a unique key for the indexed collection (default: false).
Type Parameters
- TKey
- The type of the index key.
Return Value
The new index added to the collection of indexes.